export type LoginRes = {
  openid: string;
  skName: string;
  tokenTemporary: string;
};

/**
 * 获取手机号/用户信息入参
 */
export type GetSomeInfoReq = {
  encryptedData: string;
  iv: string;
  rawData: string;
  skName: string;
  signature: string;
  openid: string;
};

/**
 * 获取用户信息返回
 * @param des 个人简介
 * @param isAuth 是否认证
 * @param price 佣金
 */
export type UserInfoRes = {
  id:string, 
  name: string,
  phone: number,
  avaUrl: string,
  wishNum:number,
  join:number,
  assist:number,
  price:number,
  gender:number,
  isAuth:boolean,
  des:string, 
};

/**
 * 获取用户手机号返回
 */
export type UserPhoneInfoRes = {
  // countryCode: string;
  // phoneNumber: string;
  // purePhoneNumber: string;
  ifMp: boolean;
};

/**
 * 手机验证码登录入参
 */
export type UserPhomeSmsReq = {
  phone: string,
  sms: Sms
}

/**
 * 验证码
 */
export type Sms = string;